{if $tourney eq 0}
<p>No se ha creado un torneo a&uacute;n, por lo tanto no se pueden ver delegaciones</p>
{else}
<form id="search">
    <span valign="middle">
        <img src="images/search.png" title="Buscar" alt="Buscar" />
    </span>
    <input id="name" name="name" type="text" />
    <input class="button" type="button" value="Buscar" onclick="send('search','list','Delegation/WP_Delegation.php?action=4');" />
    <span id="indicator1" style="display:none;">
        <img src="images/spinner.gif" alt="Buscando..." align="top" />
    </span>
    <div id="choices" class="autocomplete"></div>
    {literal}
    <script type="text/javascript" language="JavaScript">
        autocompleter('name', 'choices', 'Delegation/WP_Delegation.php?action=3');
    </script>
    {/literal}
</form>
<div id="list">
{include file="Delegation/delgs_list.tpl"}
</div>
<br />
<div id="info" style="display:none;">
</div>
{/if}